<?php
header('Content-type:text/html;charset=utf8');
/**
 * xysc users Version1.0
 * ==================================
 * Copy 2016-2017
 * Web:www.xjh7.com
 * ==================================
 * Author:xjh
 * Date:2016-4-27
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<link rel="stylesheet"  href="<?php echo backweb_CSS_URL;?>index.css" />
<link rel="stylesheet"  href="<?php echo backweb_CSS_URL;?>common.css" />

</head>
<script>

function centerWindow(url,name,width,height){
	var left = (screen.width - width) / 2;
	var top = (screen.height - height) / 2 - 50;
	window.open(url, name, 'width='+width+',height='+height+',top='+top+',left='+left);
}

</script>
<body>
	<div class="place" >
	<span>位置：</span>
		<ul class="placeul">
			<li><a href="#">首页</a></li>
			<li><a href="./index.php?r=backweb/nav/searchNavTop">搜索管理</a></li>
			<li><a href="#">修改标签</a></li>
		</ul>
	</div>
	<table class="list_table mt10">
		<form method="post" action="./index.php?r=backweb/turn/turnupd&turn_id=<?php echo $turn_info['turn_id'];?>" name="fm">
			  <tr>
				 <td class="td_center wh100">标签网址：</td>
				 <td>
					 <input type="text" name="turn_url"  value="<?php echo $turn_info['turn_url']?>"  class="input-text" style="width:400px;"  readonly="readonly" /> 
					<input type="button" value="上传缩略图"   onclick="centerWindow('./index.php?r=backweb/turn/thumbnail','upfile','400','100')" class="ml20 h25 w80 bgcolorace7ff cu" style="border:1px solid #ccc;" />(规格必须为1800*570px)
			 		<img name="pic" style="display:none;" /> 
			  </tr>
			  <tr>
				 <td class="td_center wh100">排序：</td>
				 <td>
					 <input type="text" name="turn_sort"  value="<?php echo $turn_info['turn_sort'];?>" class="text sort" style="border:1px solid #ccc;width:40px;"   />
				 </td>		
			  </tr>
		  	<tr>
				<td class="td_center wh100">是否可用：</td>
				<td> 
					<input type="radio" name="active" value="1" <?php if($turn_info['active'] == 1) echo "checked='checked'";?>  />是
				    <input type="radio" name="active" value="0"  <?php if($turn_info['active'] == 0) echo "checked='checked'";?> />否
				</td>
			</tr>
			<tr>
				 <td class="td_center">
				    <input type="submit" name="send" id="btsave" value="修改" class="btn btn82 btn_save ml25" />				
				 </td>
				 <td>
				   <input type="reset" value="重置" class="btn btn82 btn_res ml10" />
				</td>
			 </tr>
			</form>
	</table>
		<div id="info" style="height:25px;margin:0 auto;">
							    <p>版权所有 © 20016-2017 xjh&lj，并保留所有权利。</p>
		</div>
</body>
</html>